public class Test {
    public static void main(String[] args) {
        MyStack2<Integer> myStack2 =new MyStack2<Integer>();
        myStack2.push(10);
        myStack2.push(20);
        myStack2.push(30);
        System.out.println(myStack2.peek());
    }

}
